package com.jh.fcsm.beans.area.vo;

import com.jh.fcsm.beans.area.BasicArea;
import com.jh.fcsm.common.validation.group.PageGroup;
import io.swagger.annotations.ApiModel;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;


/**
 * 行政区划管理Vo
 *@author linq
 *@date 2024-08-15
 */
@ApiModel(value = "com.jh.area.beans.area.BasicAreaVo", description = "BasicAreaVo")
public class BasicAreaVo extends BasicArea{

	private static final long serialVersionUID = 1L;

	@NotNull(message = "页码不能为空", groups = PageGroup.class)
	@Min(value = 1, message = "页码必须大于0", groups = PageGroup.class)
	private Integer pageNum=1;
	@NotNull(message = "每页条数不能为空", groups = PageGroup.class)
	@Min(value = 1, message = "每页条数必须大于0", groups = PageGroup.class)
	private Integer pageSize=20;
	public Integer getPageNum() {
		return pageNum;
	}
	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
}